using System;
using System.Collections;
using System.Collections.Generic;
using System.Data;
using System.Drawing;
using System.Diagnostics;
using System.Windows.Forms;

namespace Janus.NorthwindDemo2007
{
	public class CategoriesDataProvider : DataProvider
	{



        internal Janus.NorthwindDemo2007.NorthwindDataTableAdapters.CategoriesTableAdapter CategoriesTableAdapter1;

		protected override bool FillCore()
		{
            this.CategoriesTableAdapter1.Fill(this.DataSet.Categories);
			return true;
		}
		protected override bool UpdateCore()
		{
            this.CategoriesTableAdapter1.Update(this.DataSet.Categories);
			return true;
		}
		protected override bool UpdateDataRowCore(System.Data.DataRow row)
		{
            this.CategoriesTableAdapter1.Update(row);
			return true;
		}

        public CategoriesDataProvider()
            : base()
		{
            this.CategoriesTableAdapter1 = new Janus.NorthwindDemo2007.NorthwindDataTableAdapters.CategoriesTableAdapter();
            this.CategoriesTableAdapter1.ClearBeforeFill = true;
		}
	}

} //end of root namespace